package com.ruoyi.edit.mapper;


import com.ruoyi.edit.domain.vo.FileVo;
import com.ruoyi.edit.domain.vo.OrderVo;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OderMapper {
    List<OrderVo> getOderByUserId(@Param("userId") String userId);

    List<FileVo> getFileListByOrder(@Param("data") OrderVo orderVo);

    @Delete("delete from mg_manuscript where id =#{id}")
    int deleteFileById(@Param("id") Long fileId);
}
